#! /bin/bash
export LANG=en_US.UTF-8

STRNUM=$#

for((i=1;i<=$STRNUM;i++));do 
	curStr=$(echo $(eval  echo \${${i}}))
	curStr=$(echo $curStr | awk '{if(substr($1,0,17)=="-Dhadoop.log.file"){print $1}}' | awk -F '=' '{print $2}' )
	num=$(echo $curStr|awk -F '.' '{print NF}')
	
	if [[ $num != "0" ]];then
		echo $curStr
	fi

done
